package com.open.shitou.bean;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobFile;

/**
 * banner页面数据
 */
public class Banner extends BmobObject {

    private static final long serialVersionUID = 1L;

    private String title; // 标题
    private int type; // 类型(0 无 1 石头商品id, 2 进入店面id, 3 url, 4 等等).
    private BmobFile img; // 图片
    private String detail; // 描述：主要是存放 石头商品ID 或者店面用户ID，或者网页跳转等

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public BmobFile getImg() {
        return img;
    }

    public void setImg(BmobFile img) {
        this.img = img;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "Banner{" +
                "type=" + type +
                ", img=" + img +
                ", detail='" + detail + '\'' +
                '}';
    }

}
